const GenerateData = () => {
    for (var i = 0; i <= 400; i++) {
        var rws = ['read', 'write', 'randread', 'randwrite']
        var bss = ['4k', '128k', '1M', "4M", "15M", "16M"]
        var sizes = ['4k', '128k', '1M', "4M", "15M", "16M", "128M", "1G"]
        var rw = rws[(Math.random() * rws.length) | 0]
        var bs = bss[(Math.random() * bss.length) | 0]
        var size = sizes[(Math.random() * sizes.length) | 0]
        var name = bs + "_" + size + "_" + rw
        tableData.push({
            name: name,
            rw: rw,
            bs: bs,
            size: size,
            numjobs: (Math.random() * 129) | 0,
            iodepth: 1,
            nrfiles: (Math.random() * 20) | 0,
            fsync: 1,
            write_width: (Math.random() * 100) | 0,
            write_iops: (Math.random() * 1000) | 0,
            write_lazy: (Math.random() * 10000) | 0,
            write_clat_min: (Math.random() * 10000) | 0,
            write_clat_max: (Math.random() * 10000) | 0,
            read_width: (Math.random() * 1000) | 0,
            read_iops: (Math.random() * 10000) | 0,
            read_lazy: (Math.random() * 1000) | 0,
            read_clat_min: (Math.random() * 1000) | 0,
            read_clat_max: (Math.random() * 1000) | 0,
            client: 3,
        })
    }

}

